package com.hpf.gupao.principle.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @description:
 * @datetime: 2021/5/16 14:43
 * @author: huangpengfei
 */
public class Employee {

    public void checkNumber(){
        List<Course> courses = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courses.add(new Course());
        }
        System.out.println("数量：" + courses.size());
    }
}
